package com.woniu.outlet.mysql.po;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class FixedCurrentIncomeMySQL {
    private Long id; //定期、活期收益表id

    private Long userId;

    private String productType;

    private String codeId;

    private String name; //产品名

    private BigDecimal totalPrincipal; //本金总额

    private String startDate; //买入时间:yyy-MM-dd

    private Integer holdDay; //持有天数

    private BigDecimal rateOfReturn; //年化收益率

    private Integer fixedDay; //定投理财产品的时长

    private BigDecimal income; //总收益

    private Integer status; //状态

}